package com.gxa.web_admin.controller.lj;

import com.gxa.common.base.RespResult;
import com.gxa.modules.entity.CrmCustomer;
import com.gxa.modules.service.CustomerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;
import java.util.List;

@RestController
@RequestMapping("/customer")
public class CustomerController {

    @Autowired
    private CustomerService customerService;

//客户管理的客户管理首页
    @GetMapping(value = "/customerManagement")
    public RespResult customerManagement(){

        return customerService.customerManagement();
    }

    //今日新增 datetime
    @GetMapping("/customerToday")
    public RespResult customerToday(){
        return customerService.customerToday();
    }

    //本周新增

}
